package Settings;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.concurrent.ConcurrentHashMap;
import worker.TCPConnectionHandler;
import worker.UDPMessageHandler;

public class ServerData {

    public static ConcurrentHashMap<String, String> settings = new ConcurrentHashMap<String, String>();
    public static ArrayList<TestInfo> testSettingsObjects = new ArrayList<TestInfo>();
    public static ConcurrentHashMap<Integer,TCPConnectionHandler> portToTCPthreadMap = new ConcurrentHashMap<Integer, TCPConnectionHandler>();
    public static ConcurrentHashMap<Integer,UDPMessageHandler> portToUDPthreadMap = new ConcurrentHashMap<Integer, UDPMessageHandler>();
    public static HashSet<Integer> tcpPortList = new HashSet<Integer>();
    public static HashSet<Integer> udpPortList = new HashSet<Integer>();
    public static boolean lock=false;
}